package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 发货单详情对象 crm_fhd_detail
 * 
 * @author SYF
 * @date 2025-04-16
 */
public class SysCrmFhdDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 合同单号 */
    @Excel(name = "合同单号")
    private String fhNumber;

    /** 产品编号 */
    @Excel(name = "产品编号")
    private String productId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品型号 */
    @Excel(name = "产品型号")
    private String productType;

    /** 产品规格 */
    @Excel(name = "产品规格")
    private String productSpecs;

    /** 计件单位 */
    @Excel(name = "计件单位")
    private String unit;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal nums;

    /** 零售价 */
    @Excel(name = "零售价")
    private BigDecimal retailPrice;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal unitPrice;

    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal totalPrice;

    /** 明细备注 */
    @Excel(name = "明细备注")
    private String remarks;

    public void setFhNumber(String fhNumber) 
    {
        this.fhNumber = fhNumber;
    }

    public String getFhNumber() 
    {
        return fhNumber;
    }

    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }

    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }

    public void setProductType(String productType) 
    {
        this.productType = productType;
    }

    public String getProductType() 
    {
        return productType;
    }

    public void setProductSpecs(String productSpecs) 
    {
        this.productSpecs = productSpecs;
    }

    public String getProductSpecs() 
    {
        return productSpecs;
    }

    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }

    public void setNums(BigDecimal nums) 
    {
        this.nums = nums;
    }

    public BigDecimal getNums() 
    {
        return nums;
    }

    public void setRetailPrice(BigDecimal retailPrice) 
    {
        this.retailPrice = retailPrice;
    }

    public BigDecimal getRetailPrice() 
    {
        return retailPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) 
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice() 
    {
        return unitPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) 
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice() 
    {
        return totalPrice;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fhNumber", getFhNumber())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("productType", getProductType())
            .append("productSpecs", getProductSpecs())
            .append("unit", getUnit())
            .append("nums", getNums())
            .append("retailPrice", getRetailPrice())
            .append("unitPrice", getUnitPrice())
            .append("totalPrice", getTotalPrice())
            .append("remarks", getRemarks())
            .toString();
    }
}
